package com.lin.fengxiu.exception.http;

/**
 * @ClassName HttpException
 * @Description TODO 自定义异常类
 * @Author wushaopei
 * @Date 2021/3/6 6:18
 * @Version 1.0
 */
public class HttpException extends RuntimeException {

    protected  Integer code;
//    protected  Integer httpStatusCode = 500;

    public Integer getCode() {
        return code;
    }

    public Integer getHttpStatusCode() {
        return httpStatusCode;
    }

    protected Integer httpStatusCode = 500;
}
